<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div {
            margin-top: 15px;
            margin-bottom: 15px;
        }
    </style>
</head>
<body>
<div class="header">
  <h1>Issue Add</h1>
  <button><a href="/issue">返回</a></button>
</div>
<div class="content">
    <form action="/issue/add" method="post">
        <div>
            关联项目: <select name="project_id" id="">
                {{ range .projects }}
                <option value="{{ .ProjectId }}">{{ .ProjectName }}</option>
                {{ end }}
            </select>
        </div>
        <div>
            问题描述: <input type="text" name="issue_describe">
        </div>
        <div>
            <div>问题详情: </div>
             <textarea name="issue_detail" cols="30" rows="10"></textarea>
        </div>
        <button type="submit">确认</button>
    </form>
</div>
</body>
</html>